package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class shopcarRowMapper implements RowMapper<shopcarbean>{

	@Override
	public shopcarbean mapper(ResultSet rs) throws SQLException {
		shopcarbean shopcar=new shopcarbean();
		shopcar.setUid(rs.getInt("uid"));
		shopcar.setGid(rs.getInt("gid"));
		shopcar.setGnum(rs.getString("gnum"));		
		return shopcar;
	}

}
